<template>
   <van-swipe :autoplay="3000">
       <van-swipe-item v-for="(image, index) in images" :key="index">
       <img v-lazy="image" style="height:100px" />
       </van-swipe-item>
    </van-swipe>
</template>
<script>

export default {
     data() {
    return {
      images: [
        'https://img.yzcdn.cn/vant/apple-1.jpg',
        'https://img.yzcdn.cn/vant/apple-2.jpg'
      ]
    }
  }
}
</script>
